<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="html" uri="/struts-tags"%>
<%@ taglib uri="/struts-dojo-tags" prefix="sx"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../../css/theme0.css" rel="stylesheet" type="text/css" />
<title>人力资源查询页面</title>
</head>

<body>
<div id="main"><%@ include file="../Header.jsp"%>
<div id="middle"><c:import url="../Navigation.jsp"></c:import>
<div id="center-column">
<div class="top-bar"><a
	href="../SystemManagement/logoutAction.action" class="button">退出</a>
<h1>系统管理</h1>
<div class="breadcrumbs"><a href="../SystemManagement/Home.jsp">首页</a>&nbsp;/&nbsp;查找人力资源信息</div>
</div>
<br />
<div class="select-bar"><label><input type="text"
	name="textfield" /></label> <label><input type="submit" name="Submit"
	value="Search" /></label></div>

<p align="center">查看人力资源信息</p>
<div class="table"><img src="images/bg-th-left.gif" width="8"
	height="7" alt="" class="left" /> <img src="images/bg-th-right.gif"
	width="7" height="7" alt="" class="right"> <html:form name="form"
	action="SearchHRRecordsAction" namespace="/pages/HRRecordsManagement"
	method="post" validate="true">

	<table class="listing form" cellpadding="0" cellspacing="0">
		<tr>
			<td class="first" width="120"><input type="radio"
				name="SearchMethod" value="1" checked />按职位查看:</td>
			<td class="last"><select name="position">
				<c:forEach items="${requestScope.positions}" var="position">
					<option value="<c:out value="${position.positionId}" />"><c:out
						value="${position.positionName}" /></option>
				</c:forEach>
			</select></td>
			<td class="last"><INPUT type="submit" value="查询"></td>
		</tr>
		<tr>
			<td class="first" width="120"><input type="radio"
				name="SearchMethod" value="2" />按部门查看:</td>
			<td class="last"><select name="department">
				<c:forEach items="${requestScope.departments}" var="department">
					<option value="<c:out value="${department.departmentId}" />">
					<c:out value="${department.departmentName}" /></option>
				</c:forEach>
			</select></td>
			<td class="last"><INPUT type="submit" value="查询"></td>
		</tr>
		<tr>
			<td class="first" width="120"><input type="radio"
				name="SearchMethod" value="3" />按职称查看:</td>
			<td class="last"><select name="title">
				<c:forEach items="${requestScope.titles}" var="title">
					<option value="<c:out value="${title.titleId}" />"><c:out
						value="${title.titleName}" /></option>
				</c:forEach>
			</select></td>
			<td class="last"><INPUT type="submit" value="查询"></td>
		</tr>
	</table>
    <br>
    
	<table class="listing form" cellpadding="0" cellspacing="0">
		<tr>
			<td colspan="3">
			<p align="left"><input type="radio" name="SearchMethod" value="4" />高级查询</p>
			</td>
		</tr>

		<tr>
			<td class="first">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名:</td>
			<td class="last"><input type="text" name="humanName" size="21" /></td>
		</tr>
		<tr>
			<td class="first">性&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;别:</td>
			<td class="last"><input type="radio" name="gender" value=""
				size="21" checked />不限 <input type="radio" name="gender"
				value="male" />男 <input type="radio" name="gender" value="female" />女</td>
		</tr>
		<tr>
			<td class="first">身份证号:</td>
			<td class="last"><input type="text" name="idNumber" size="21"
				maxlength="18" /></td>
		</tr>
		<tr>
			<td class="first">账&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号:</td>
			<td class="last"><input type="text" name="account" size="21"
				maxlength="20" /></td>
		</tr>
		<tr>
			<td class="first">职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;位:</td>
			<td class="last"><select name="positionId">
				<option value="0"></option>
				<c:forEach items="${requestScope.positions}" var="position">
					<option value="<c:out value="${position.positionId}" />">
					<c:out value="${position.positionName}" /></option>
				</c:forEach>
			</select></td>
		</tr>


		<tr>
			<td class="first">部&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;门:</td>
			<td class="last"><select name="departmentId">
				<option value="0"></option>
				<c:forEach items="${requestScope.departments}" var="department">
					<option value="<c:out value="${department.departmentId}" />">
					<c:out value="${department.departmentName}" /></option>
				</c:forEach>
			</select></td>
		</tr>
		<tr>
			<td class="first">职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称:</td>
			<td class="last"><select name="titleId">
				<option value="0"></option>
				<c:forEach items="${requestScope.titles}" var="title">
					<option value="<c:out value="${title.titleId}" />"><c:out
						value="${title.titleName}" /></option>
				</c:forEach>
			</select></td>
		</tr>
	</table>
	<input id="Submit" class="button" type="submit" value="查询" />
	<input id="Reset" class="button" type="reset" value="重置" />

</html:form></div>
</div>
<%@ include file="../Toolkit.jsp"%></div>
<%@ include file="../Footer.jsp"%></div>
</body>
</html>